Hi Ray,
There are two mechanisms for type of thing. One is the USR callback and also the MCode callback.
If you register a routine as the User Callback then the comment form:
(USR,xxxxxx)
will call your application and pass the string xxxxxxx
If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
From c# see:
Set_G_USER_CALLBACK
Set_G_USER_MCODE_CALLBACK
Regards
TK
Group: DynoMotion |
Message: 5111 |
From: himykabibble |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
Tom,
USR callback should be perfect! Thanks!
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
> Â
> There are two mechanisms for type of thing. One is the USR callback and also the MCode callback.
> Â
> If you register a routine as the User Callback then the comment form:
> Â
> (USR,xxxxxx)
> Â
> will call your application and pass the string xxxxxxx
> Â
> Â
> If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> Â
> From c# see:
> Â Set_G_USER_CALLBACK
> Â Set_G_USER_MCODE_CALLBACK
> Â
> Â
> Regards
> TK
> Â
>
>
> ________________________________
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, May 30, 2012 2:10 PM
> Subject: [DynoMotion] How Can I....
>
>
> Â
> Tom,
>
> I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
>
> Regards,
> Ray L.
>
|
|
Group: DynoMotion |
Message: 5112 |
From: studleylee |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
This a very cool for me also,
Thanks Tom and Ray!
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> USR callback should be perfect! Thanks!
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > Â
> > There are two mechanisms for type of thing. One is the USR callback and also the MCode callback.
> > Â
> > If you register a routine as the User Callback then the comment form:
> > Â
> > (USR,xxxxxx)
> > Â
> > will call your application and pass the string xxxxxxx
> > Â
> > Â
> > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > Â
> > From c# see:
> > Â Set_G_USER_CALLBACK
> > Â Set_G_USER_MCODE_CALLBACK
> > Â
> > Â
> > Regards
> > TK
> > Â
> >
> >
> > ________________________________
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wednesday, May 30, 2012 2:10 PM
> > Subject: [DynoMotion] How Can I....
> >
> >
> > Â
> > Tom,
> >
> > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> >
> > Regards,
> > Ray L.
> >
>
|
|
Group: DynoMotion |
Message: 5113 |
From: himykabibble |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
Tom,
Where/How do I register a USR callback in dotNet? I don't see an event for that....
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> USR callback should be perfect! Thanks!
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > Â
> > There are two mechanisms for type of thing. One is the USR callback and also the MCode callback.
> > Â
> > If you register a routine as the User Callback then the comment form:
> > Â
> > (USR,xxxxxx)
> > Â
> > will call your application and pass the string xxxxxxx
> > Â
> > Â
> > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > Â
> > From c# see:
> > Â Set_G_USER_CALLBACK
> > Â Set_G_USER_MCODE_CALLBACK
> > Â
> > Â
> > Regards
> > TK
> > Â
> >
> >
> > ________________________________
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wednesday, May 30, 2012 2:10 PM
> > Subject: [DynoMotion] How Can I....
> >
> >
> > Â
> > Tom,
> >
> > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> >
> > Regards,
> > Ray L.
> >
>
|
|
Group: DynoMotion |
Message: 5118 |
From: brad murry |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
Pretty sure I put that in the interpreter object. It is an event and should follow a semantic naming convention.
-Brad Murry
From:
himykabibble
Sent:
5/30/2012 3:40 PM
To:
DynoMotion@yahoogroups.com
Subject:
[DynoMotion] Re: How Can I....
Tom,
Where/How do I register a USR callback in dotNet? I don't see an event for that....
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> USR callback should be perfect! Thanks!
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > Â
> > There are two mechanisms for type of thing. One is the USR callback and also the MCode callback.
> > Â
> > If you register a routine as the User Callback then the comment form:
> > Â
> > (USR,xxxxxx)
> > Â
> > will call your application and pass the string xxxxxxx
> > Â
> > Â
> > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > Â
> > From c# see:
> > Â Set_G_USER_CALLBACK
> > Â Set_G_USER_MCODE_CALLBACK
> > Â
> > Â
> > Regards
> > TK
> > Â
> >
> >
> > ________________________________
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wednesday, May 30, 2012 2:10 PM
> > Subject: [DynoMotion] How Can I....
> >
> >
> > Â
> > Tom,
> >
> > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through
the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> >
> > Regards,
> > Ray L.
> >
>
|
|
Group: DynoMotion |
Message: 5119 |
From: Tom Kerekes |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
It should be a method similar to what is used for Interpreter Complete callback.
TK
Group: DynoMotion |
Message: 5120 |
From: himykabibble |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
Brad,
Found it! Thanks!
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, brad murry <bradodarb@...> wrote:
>
> Pretty sure I put that in the interpreter object. It is an event and should follow a semantic naming convention.
>
> -Brad Murry
> ________________________________
> From: himykabibble
> Sent: 5/30/2012 3:40 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: How Can I....
>
> Tom,
>
> Where/How do I register a USR callback in dotNet? I don't see an event for that....
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > Tom,
> >
> > USR callback should be perfect! Thanks!
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > Ã
> > > There are two mechanisms for type of thing.Ã One is the USR callback and also the MCode callback.
> > > Ã
> > > If you register a routine as the User Callback then the comment form:
> > > Ã
> > > (USR,xxxxxx)
> > > Ã
> > > will call your application and pass the string xxxxxxx
> > > Ã
> > > Ã
> > > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > > Ã
> > > From c# see:
> > > Ã Set_G_USER_CALLBACK
> > > Ã Set_G_USER_MCODE_CALLBACK
> > > Ã
> > > Ã
> > > Regards
> > > TK
> > > Ã
> > >
> > >
> > > ________________________________
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Wednesday, May 30, 2012 2:10 PM
> > > Subject: [DynoMotion] How Can I....
> > >
> > >
> > > Ã
> > > Tom,
> > >
> > > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
|
|
Group: DynoMotion |
Message: 5121 |
From: himykabibble |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
All working now! Thanks again!
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Found it! Thanks!
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, brad murry <bradodarb@> wrote:
> >
> > Pretty sure I put that in the interpreter object. It is an event and should follow a semantic naming convention.
> >
> > -Brad Murry
> > ________________________________
> > From: himykabibble
> > Sent: 5/30/2012 3:40 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: How Can I....
> >
> > Tom,
> >
> > Where/How do I register a USR callback in dotNet? I don't see an event for that....
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > Tom,
> > >
> > > USR callback should be perfect! Thanks!
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > Ã
> > > > There are two mechanisms for type of thing.Ã One is the USR callback and also the MCode callback.
> > > > Ã
> > > > If you register a routine as the User Callback then the comment form:
> > > > Ã
> > > > (USR,xxxxxx)
> > > > Ã
> > > > will call your application and pass the string xxxxxxx
> > > > Ã
> > > > Ã
> > > > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > > > Ã
> > > > From c# see:
> > > > Ã Set_G_USER_CALLBACK
> > > > Ã Set_G_USER_MCODE_CALLBACK
> > > > Ã
> > > > Ã
> > > > Regards
> > > > TK
> > > > Ã
> > > >
> > > >
> > > > ________________________________
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Wednesday, May 30, 2012 2:10 PM
> > > > Subject: [DynoMotion] How Can I....
> > > >
> > > >
> > > > Ã
> > > > Tom,
> > > >
> > > > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 5122 |
From: himykabibble |
Date: 5/30/2012 |
Subject: Re: How Can I.... |
All working now! Thanks again!
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Found it! Thanks!
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, brad murry <bradodarb@> wrote:
> >
> > Pretty sure I put that in the interpreter object. It is an event and should follow a semantic naming convention.
> >
> > -Brad Murry
> > ________________________________
> > From: himykabibble
> > Sent: 5/30/2012 3:40 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: How Can I....
> >
> > Tom,
> >
> > Where/How do I register a USR callback in dotNet? I don't see an event for that....
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > Tom,
> > >
> > > USR callback should be perfect! Thanks!
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > Ã
> > > > There are two mechanisms for type of thing.Ã One is the USR callback and also the MCode callback.
> > > > Ã
> > > > If you register a routine as the User Callback then the comment form:
> > > > Ã
> > > > (USR,xxxxxx)
> > > > Ã
> > > > will call your application and pass the string xxxxxxx
> > > > Ã
> > > > Ã
> > > > If you register an MCode callback then MCodes that are configured to have an action of M_Action_Callback will call your callback routine and pass the MCode number.
> > > > Ã
> > > > From c# see:
> > > > Ã Set_G_USER_CALLBACK
> > > > Ã Set_G_USER_MCODE_CALLBACK
> > > > Ã
> > > > Ã
> > > > Regards
> > > > TK
> > > > Ã
> > > >
> > > >
> > > > ________________________________
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Wednesday, May 30, 2012 2:10 PM
> > > > Subject: [DynoMotion] How Can I....
> > > >
> > > >
> > > > Ã
> > > > Tom,
> > > >
> > > > I'd like to be able to add something in G-code similar to the MSG comment, but that would simply pass the comment string to the PC, without throwing up the modal dialog. Is there a reasonable way to do this? I have a PCCOMM mechanism, for doing this through the DSP but would like to be able to do the same directly in G-code. I know I can modify the interpreter to do this, but was wondering if there's another way.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
| | | |